package com.wings4.school.academicconfiguration

import com.wings4.security.User

class AcademicSession {

    String sessionName;
    Date sessionStart;
    Date sessionEnd;
    String description;
    Date createdDate;
    User createdBy;
    Boolean status;

    static  mapping = {
        sessionStart(sqlType: 'date');
        sessionEnd(sqlType: 'date');
        createdDate(sqlType: 'date');
    }

    static constraints = {
        description(nullable: true);
        createdBy(nullable: true);
        status(nullable: true);
    }
}
